<?php /* Smarty version 2.6.12, created on 2008-11-19 11:42:51
         compiled from main/product.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'main/product.tpl', 9, false),array('modifier', 'substitute', 'main/product.tpl', 58, false),)), $this); ?>
<?php func_load_lang($this, "main/product.tpl","lbl_printable_version,lbl_sku,lbl_category,lbl_vendor,lbl_availability,lbl_avail_for_sale,lbl_pconf_avail_for_sale_bundled,lbl_hidden,lbl_disabled,lbl_price_info,lbl_price,lbl_in_stock,lbl_items_available,lbl_weight"); ?><?php ob_start(); ?>
<table width="100%">
<tr>
	<td valign="top" align="left" width="30%">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "product_thumbnail.tpl", 'smarty_include_vars' => array('productid' => $this->_tpl_vars['product']['productid'],'image_x' => $this->_tpl_vars['product']['image_x'],'image_y' => $this->_tpl_vars['product']['image_y'],'product' => $this->_tpl_vars['product']['product'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<p />
<?php if ($GLOBALS['HTTP_GET_VARS']['mode'] != 'printable'): ?>
<a href="product.php?productid=<?php echo $this->_tpl_vars['product']['productid']; ?>
&amp;mode=printable" target="_blank"><img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/print.gif" width="23" height="22" name="print" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['lng']['lbl_printable_version'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /></a>
<?php endif; ?>
	</td>
	<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
	<td><?php echo $this->_tpl_vars['lng']['lbl_sku']; ?>
</td>
	<td><?php echo $this->_tpl_vars['product']['productcode']; ?>
</td>
</tr>
<?php if ($this->_tpl_vars['product']['category_text']): ?>
<tr>
	<td><?php echo $this->_tpl_vars['lng']['lbl_category']; ?>
</td>
	<td><?php echo $this->_tpl_vars['product']['category_text']; ?>
</td>
</tr>
<?php endif;  if ($this->_tpl_vars['usertype'] == 'A'): ?>
<tr>
	<td><?php echo $this->_tpl_vars['lng']['lbl_vendor']; ?>
</td>
	<td><?php echo $this->_tpl_vars['product']['provider']; ?>
</td>
</tr>
<?php endif; ?>
<tr>
	<td><?php echo $this->_tpl_vars['lng']['lbl_availability']; ?>
</td>
	<td><?php if ($this->_tpl_vars['product']['forsale'] == 'Y'):  echo $this->_tpl_vars['lng']['lbl_avail_for_sale'];  elseif ($this->_tpl_vars['product']['forsale'] == 'B'):  echo $this->_tpl_vars['lng']['lbl_pconf_avail_for_sale_bundled'];  elseif ($this->_tpl_vars['product']['forsale'] == 'H'):  echo $this->_tpl_vars['lng']['lbl_hidden'];  else:  echo $this->_tpl_vars['lng']['lbl_disabled'];  endif; ?></td>
</tr>
<tr>
	<td colspan="2">
<br />
<br />
<span class="Text"><?php echo $this->_tpl_vars['product']['descr']; ?>
</span>
<br />
<br />
	</td>
</tr>
<tr>
	<td colspan="2"><b><font class="ProductDetailsTitle"><?php echo $this->_tpl_vars['lng']['lbl_price_info']; ?>
</font></b></td>
</tr>
<tr>
	<td class="Line" height="1" colspan="2"><img src="<?php echo $this->_tpl_vars['ImagesDir']; ?>
/spacer.gif" class="Spc" alt="" /></td>
</tr>
<tr>
	<td colspan="2">&nbsp;</td>
</tr>
<tr>
	<td width="50%"><?php echo $this->_tpl_vars['lng']['lbl_price']; ?>
</td>
	<td nowrap="nowrap"><font class="ProductPriceSmall"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "currency.tpl", 'smarty_include_vars' => array('value' => $this->_tpl_vars['product']['price'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></font></td>
</tr>
<tr>
	<td width="50%"><?php echo $this->_tpl_vars['lng']['lbl_in_stock']; ?>
</td>
	<td nowrap="nowrap"><?php echo ((is_array($_tmp=$this->_tpl_vars['lng']['lbl_items_available'])) ? $this->_run_mod_handler('substitute', true, $_tmp, 'items', $this->_tpl_vars['product']['avail']) : smarty_modifier_substitute($_tmp, 'items', $this->_tpl_vars['product']['avail'])); ?>
</td>
</tr>
<tr>
	<td width="50%"><?php echo $this->_tpl_vars['lng']['lbl_weight']; ?>
</td>
	<td nowrap="nowrap"><?php echo $this->_tpl_vars['product']['weight']; ?>
 <?php echo $this->_tpl_vars['config']['General']['weight_symbol']; ?>
</td>
</tr>
</table>
<br />

<table cellspacing="0" cellpadding="0">
<tr>
	<td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "buttons/modify.tpl", 'smarty_include_vars' => array('href' => "product_modify.php?productid=".($this->_tpl_vars['product']['productid']))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
	<td>&nbsp;&nbsp;</td>
	<td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "buttons/clone.tpl", 'smarty_include_vars' => array('href' => "process_product.php?mode=clone&productid=".($this->_tpl_vars['product']['productid']))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
	<td>&nbsp;&nbsp;</td>
	<td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "buttons/delete.tpl", 'smarty_include_vars' => array('href' => "process_product.php?mode=delete&productid=".($this->_tpl_vars['product']['productid']))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
</tr>
</table>

	</td>
</tr>
</table>
<?php $this->_smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean();  if ($GLOBALS['HTTP_GET_VARS']['mode'] == 'printable'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['product']['producttitle'],'content' => $this->_smarty_vars['capture']['dialog'],'extra' => "width=440")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  else:  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['product']['producttitle'],'content' => $this->_smarty_vars['capture']['dialog'],'extra' => 'width="100%"')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  endif; ?>